package model

import (
	"time"

	"gorm.io/gorm"
)

type PaymentMethod struct {
	gorm.Model
	PassengerId       int
	PaymentMethodType string
	PaymentAccount    string
	IsDefault         int
}

type PaymentRecord struct {
	gorm.Model
	SyncId         string
	PaymentOrderId int
	ChannelName    string
	SyncType       string
	SyncResult     string
	SyncTime       time.Time
	Status         string
}

type PaymentOrder struct {
	gorm.Model
	OrderId        int
	PaymentOrderId int
	Amount         float64
	PaymentMethod  string
}
